﻿using B.S.DataBase.MyProject.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.DataBase.MyWrite.API.Appicant.Command.Approval
{
    /// <summary>
    /// 修改请假
    /// </summary>
    public class UpdApprovalCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 修改人
        /// </summary>
        public string NickName { get; set; }

        public int LeaveId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string ApplicantName { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int DepartMentid { get; set; }
        /// <summary>
        /// 请假类别
        /// </summary>
        public string LeaveType { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 共计时间
        /// </summary>
        public string TimeSpan { get; set; }
        /// <summary>
        /// 报到时间
        /// </summary>
        public DateTime RegistrationTime { get; set; }
        /// <summary>
        /// 请假事由
        /// </summary>
        public string ReasonLeave { get; set; }
        /// <summary>
        /// 部门领导
        /// </summary>
        public string DepartmentHead { get; set; }
       
      
       
    }
}
